﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RoleList.aspx.cs" Inherits="Manage_RoleManage_RoleList" %>
<%@ Register Src="~/Manage/UserControl/PagingCtrl.ascx" TagName="PagingCtrl" TagPrefix="UserControl" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta content="MSHTML 6.00.2900.3132" name="GENERATOR" />
	<link href="../css/mainFrom.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="../js/common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="incontent">
          <div class="con-tool" id="contool">
		    <div class="tool">工具栏</div>
	        <a href="AddRole.aspx?id=<%=strCateID %>" target="_self" id="a_1">添加新角色</a>
	        <a href="RoleList.aspx?id=<%=strCateID%>" target="_self" id="a_2">查看角色 </a>
		  </div>
      <div>
      <div class="clear"></div>
      <div class="contable">
        <div class="con-ico">
          <div class="con-fl">当前位置：角色管理</div>
          <div class="con-fr">
            <img src="../images/img-fontid.gif" title="本页技术支持编号" alt="" />010500
          </div>
        </div>
        <div class="clear"></div>
        <div class="hr"></div>
        <div class="imgadnfont">
          <div class="float">
            <img src="../images/UserloginLog.gif" alt="" />
          </div>
          <div style="line-height: 20px;">
            登录日志记录了所有登录到您的虚拟主机管理系统的情况，您可以随时查看登录日志，及时了解您的登录情况，也可在第一时间发现问题，便于您对主机管理。
          </div>
        </div>
        <div class="clear"></div>
        <div id="UpdatePanel1">
          <table class="content-table" cellspacing="0" cellpadding="0" rules="rows" bordercolor="White" border="0" id="LogList" style="border-color:White;border-width:0px;border-style:Solid;font-size:X-Small;width:100%;border-collapse:collapse;">
            <tr>
              <td class="tdblodth" nowrap="nowrap" align="left" width="35%">角色名</td>
              <td class="tdblodth" nowrap="nowrap" align="left" width="35%">顺序</td>
              <td class="tdblodthnone" nowrap="nowrap" align="center" width="30%">操作</td>
            </tr>
            <asp:Repeater ID="repRole" runat="server" OnItemDataBound="repRole_ItemDataBound" OnItemCommand="repRole_ItemCommand">
              <ItemTemplate>
                <tr onmouseover="setbg2(this)" onmouseout="setbg1(this)" id="tr1" runat="server">
                  <td nowrap="nowrap" align="left">
                    <asp:HiddenField ID="hidID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "Role_Id")%>' />
                    <%# DataBinder.Eval(Container.DataItem, "Role_Name")%>
                  </td>
                  <td nowrap="nowrap" align="left"><%# DataBinder.Eval(Container.DataItem, "Role_Order")%></td>
                  <td nowrap="nowrap" align="center">
                    <asp:HyperLink Text="编辑" runat="server" ID="hypEdit" />
                    &nbsp;|&nbsp;
                    <asp:LinkButton Text="删除" runat="server" ID="HypDelete" CommandName="delete" />
                  &nbsp;|&nbsp;
                    <asp:HyperLink Text="设置权限" runat="server" ID="hypPopedom" />
                  </td>
                </tr>
	          </ItemTemplate>
	        </asp:Repeater>
          </table>
          <div>
            <div id="PanPage" class="pageStyle">
              <UserControl:PagingCtrl ID="pagingctrl" OnPageIndexChanged="BindRpt" runat="server" PageRange="10" />
            </div>
          </div>
        </div>
      </div>
    </div>
    <asp:HiddenField ID="hidSql" runat="server" />
    <asp:HiddenField ID="hidAmount" runat="server" />
    </form>
</body>
</html>
